#include "mcu_dda_serialport_driver.h"





McuDdaSerialportDriver::McuDdaSerialportDriver(int uart_id, DWORD baudrate, BOOL is485):McuDdaDriverBase()
{
	m_commDriver = new McuCommDriver(uart_id, baudrate,FALSE, is485);
	this->Start();
}


BOOL McuDdaSerialportDriver::Send(uint8_t *buf, uint32_t toSendLen){

   return m_commDriver->Send(buf,toSendLen); 
}

McuDdaSerialportDriver::~McuDdaSerialportDriver()
{
	delete  m_commDriver;
}


